package cn.touna.jss.modules.custom.cheyiping.dto;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Min;

/**
 * 车易评请求
 * Created by Steve.Tao on 2017/8/23.
 */
public class CheyipingRequest {

    private String typeId;

    private String vin;

    public static class GetCarSeriesListRequest extends PageRequest {

        @NotBlank
        @Min(1)
        private String brandId;

        public String getBrandId() {
            return brandId;
        }

        public void setBrandId(String brandId) {
            this.brandId = brandId;
        }
    }

    public static class GetCarModelListRequest extends PageRequest {
        @NotBlank
        @Min(1)
        private String seriesId;

        public String getSeriesId() {
            return seriesId;
        }

        public void setSeriesId(String seriesId) {
            this.seriesId = seriesId;
        }
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

}
